﻿#ifndef CUSTOMFUNCTION_H
#define CUSTOMFUNCTION_H

#include <QPointF>
#include <cmath>

class CustomFunction
{
public:
    CustomFunction();
    static double calDistance(QPointF p1, QPointF p2);
    static bool isPointInRange(QPointF p1, double x1, double x2, double y1, double y2);
};

#endif // CUSTOMFUNCTION_H
